package com.itheima.provider.dao;

import com.itheima.provider.domain.Goods;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class GoodsDao {


    @Value("${server.port}")
    String port;


    public Goods findOne(int id){
        return  new Goods(1,"华为手机"+port,5999,100);
    }

}
